<?php
/**
 * xApi 接口
 */

Route::get('/auth', 'AuthenticateController@authenticate');
Route::get('/me', 'AuthenticateController@getAuthenticatedUser');


Route::group(['namespace' => 'Api'], function () {
    Route::get('getRoomList', 'RoomApiController@getRoomList');
});

Route::group(['namespace' => 'Api', 'prefix' => 'api','middleware' => 'jwt.auth'], function () {

    Route::get('getCategoryList', 'CategoryApiController@getCategoryList');
    Route::get('getHotelreferralList', 'CategoryApiController@getHotelreferralList');
    Route::get('getVideoCategoryList', 'VideoApiController@getVideoCategoryList');
    Route::get('getDeviceList', 'RoomApiController@getDeviceList');
    Route::get('getRoom', 'RoomApiController@getRoom');
    Route::get('getVideoList', 'VideoApiController@getVideoList');
    Route::get('setVideoAdd', 'VideoApiController@setVideoAdd');
    Route::get('setDemand', 'VideoApiController@setDemand');
    Route::get('setPlayAddress', 'VideoApiController@setPlayAddress');
    Route::get('getAppList', 'AppApiController@getAppList');
    Route::get('getOrderList', 'ProductApiController@getOrderList');



});